package com.spark.incoicings.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.spark.invoicings.entity.DictData;

import java.util.List;

public interface DictDataService  extends IService<DictData> {

    /**
     * 根据id获取字典数据
     * @param id
     * @return
     */
    DictData selectDictDataById(Integer id);

    /**
     * 根据类型获取字典类型
     * @param type
     * @return
     */
    List<DictData> selectDictDataByType(String type);

}
